#ifndef DATABASEHELPER_H
#define DATABASEHELPER_H

#include <QString>
#include <Entities/userentity.h>
#include <QSqlDatabase>

class DatabaseHelper
{
public:
    DatabaseHelper();
    ~DatabaseHelper();
    bool isExist(QString name,QString passwd);//查询用户是否存在
private:
    QSqlDatabase db;
};

#endif // DATABASEHELPER_H
